<?php
namespace Home\Model;
use Think\Model;
class InvestorInfoModel extends Model 
{
    protected $_validate = array(
        array('uid','require','UID必填！'), //默认情况下用正则进行验证
        array('tim_type','require','类型不能为空！'), //默认情况下用正则进行验证
        array('term','number','投资周期必须纯数字！'),
        array('descrp','0,200','描述200个汉字以内！',3,'length'),
    );
}
?>